package com.cloudoer.blog.mapper.dao;

import com.cloudoer.blog.mapper.PhotoMapper;
import com.cloudoer.blog.model.Photo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PhotoDao extends PhotoMapper {
    List<Photo> selectByPage (@Param(value = "albunId") String albunId, @Param(value = "pstart") Integer pstart, @Param(value = "psize") Integer psize);

    List<Photo> selectAll(@Param(value = "albunId") String albunId);

    Integer getCount ();
}
